/**
 * Created by meiyun1 on 2017/8/11.
 */
import Vue from 'vue'
import params from '../conf/params'

export default {
  getSingePage (code) {
    return Vue.http.get(`${params.base_url}/singlepage/${code}`)
  },
  updateSingePage (code, data) {
    return Vue.http.put(`${params.base_url}/singlepage/${code}`, data)
  }
}
